<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<meta charset="utf-8">
<head>
    <meta charset="utf-8">
        <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css"
          integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
          crossorigin="anonymous">
    <script>src="https://cdn.bootcss.com/jquery/3.4.1/jquery.slim.min.js"</script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"
            integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
            crossorigin="anonymous"></script>
</head>
<form class="form-horizontal" method="post" id="add-form" action="/add" method="post">
<body>
<div style="height: 20px;width: 30%">
<table border="1" class="table table-bordered" style="height: 800px;width: 380px">
    <tr style="width: 150px">
        <th style="width: 25%">录入</th>
        <th style="width: 75%">信息</th>
<tr>
  <td>当前状态</td>
   <td>
<select name="status" class="form-control">
    <option value="使用中">使用中</option>
    <option value="闲置">闲置</option>
    <option value="损坏">损坏</option>
</select>
   </td>
 </tr>
      <tr>
  <td>主机名称</td>
   <td>
<textarea class="form-control" rows="1" name="hostname"></textarea>
   </td>
 </tr>
           <tr>
   <td>资产编号</td>
   <td>
<textarea class="form-control" rows="1" name="assettag"></textarea>
   </td>
  </tr>

    <tr>
   <td>详细位置</td>
    <td>
        <select class="form-control" name="locational">
  <option value="上海7/8号楼">上海7/8号楼</option>
    <option value="上海17/18号楼">上海17/18号楼</option>
<option value="上海直营店1">上海直营店1</option>
<option value="北京直营店1">北京直营店1</option>
     <option value="迈迈工厂">迈迈工厂</option>
     <option value="如皋工厂">如皋工厂</option>
 </select>


    </td>
       </td>
  </tr>
<tr>
   <td>详细位置</td>
    <td>
        <textarea class="form-control" rows="2" name="detail" placeholder="具体机架位置"></textarea>
    </td>
       </td>
  </tr>
       <tr>
   <td>设备类型</td>
   <td>
<select class="form-control" name="type">
  <option value="物理服务器">物理服务器</option>
    <option value="存储类">存储类</option>
  <option value="虚拟机">虚拟机</option>
     <option value="网关类">网关类</option>
  <option value="交换机">交换机</option>
  <option value="其它网络设备">其它网络设备</option>
 <option value="台式机">台式机</option>
 <option value="瘦客户机">瘦客户机</option>
 <option value="笔记本">笔记本</option>
    <option value="其它设备">其它设备</option>
 </select>
   </td>
  </tr>
         <tr>
   <td>所在环境</td>
   <td>
<select class="form-control" name="zone">
  <option value="正式生产环境">正式生产环境</option>
    <option value="测试环境">测试环境</option>
  <option value="开发环境" >开发环境</option>
     <option value="其它">其它</option>
 </select>
   </td>
  </tr>
      <tr>
  <td>设备型号</td>
   <td>
  <textarea class="form-control" rows="1" name="modes"></textarea>
   </td>
 </tr>

     <tr>
   <td>操作系统</td>
   <td>
<select class="form-control" name="os">
  <option value="Windows">Windows</option>
    <option value="Esxi">Esxi</option>
  <option value="Linux" >Linux</option>
     <option value="Other">Other</option>
 </select>
   </td>
  </tr>
 <tr>
   <td>IP地扯</td>
   <td>
<textarea class="form-control" rows="1" name="lanip"></textarea>
   </td>
  <tr>
   <td>外网信息</td>
   <td>
<textarea class="form-control" rows="1" name="wanip" placeholder="wanip:port"></textarea>
   </td>
  </tr>
            <tr>
   <td>使用/管理者</td>
   <td>
<textarea class="form-control" rows="1" name="enduser"></textarea>
   </td>
  </tr>
                 <tr>
   <td>业务名称</td>
   <td>
<textarea class="form-control" rows="1" name="apps"></textarea>
   </td>
  </tr>
            <tr>
   <td>服务信息</td>
   <td>
<textarea class="form-control" rows="2" name="supportinfo" placeholder="此应用的技术支持服务信息如供应商联系方式等"></textarea>
   </td>
  </tr>
    <tr>
   <td>登录信息</td>
   <td>
<textarea class="form-control" rows="2" name="logininfo" placeholder="此服务器和应用的登录信息"></textarea>
   </td>
  </tr>>
 <tr>
<tr>
   <td>MAC地扯</td>
   <td>
<textarea class="form-control" rows="2" name="macadd"></textarea>
   </td>
  </tr>
   <td>备注</td>
   <td>
<textarea class="form-control" rows="3" name="other"></textarea>
   </td>
        <tr>
     <td><button style="display:block;margin:0 auto" class="btn btn-default" type="submit" onclick="checkForm();">保 存</button>
    <td><button style="display:block;margin:0 auto" class="btn btn-default"  type="submit" onclick=window.close();>关闭</button></td>
    </tr>
  </table>
</form>
</table>
</div>
</body>
</html>